package Yang.homework2;

/**
 * 编程实现OldPhone类继承自CellPhone类
 */
public class OldPhone extends Cellphone {
    @Override
    public void Call() {
        System.out.println("这是来自老式手机的电话");
    }

    @Override
    public void Message() {
        System.out.println("这是来自老式手机的短信");
    }
}
